* {
  font: 12px/1.5 tahoma,arial,'Hiragino Sans GB','\5b8b\4f53',sans-serif;
  box-sizing: border-box;
}

body {
  min-width: 1200px;    /* 设置页面的最小宽度 */
  overflow-x: auto;     /* 启用水平滚动条 */
  background-color: #eee;
}

/* 1.网页头 */
#header {
  height: 100px;
  background-color: #FFF;
}

#logo,#logo img {
  width: 240px;
  height: 70px;
}

#header #search {
  width: 760px;
}

#header #search #key {
  width: 610px;
  height: 32px;
}

#btn-search {
  width: 80px;
}

/* 2.商品分类与轮播 */
#category_carousel{
  padding: 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #FFF;
}

#category {
  min-width: 240px;
  width: 240px;
  position: relative;
  padding: 0;
  margin: 0;
}

.category-menu {
  border-radius: 6px;
  background-color: #F7F8FC;
  color:#636363;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.cate_menu_icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  display: inline-block;
  margin-top: -10px;
  margin-right: 8px;
}

.category-menu > li {
  position: relative;
  padding: 10px;
}

.category-menu-active {
  background-color: #d9d9d9;
}

/* 隐藏二级菜单 */
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;         
  height: 300px;
  width: 900px;


  list-style: none;
  margin: 0;
  padding-left: 0;
  z-index: 100;
}

.menu_content {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  padding: 10px;
  background-color: #FFF;
  border: 1px solid red;
  border-radius: 5px;
  z-index: 101;
}

.menu_content.active {
  display: block !important;
}


/* 3.商品列表 */
#product_list {
  background-color: #FFF;
}
.smallTabWrapper {
  position: relative;
  align-items: center;
  border-bottom: none;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  height: 40px;
  justify-content: flex-start;
  margin-right: 32px;
  vertical-align: middle;
}

.smallTabIcon {
  height: 24px;
  margin-right: 2px;
  -o-object-fit: contain;
  object-fit: contain;
  width: 24px;
}

.smallTabTitle {
    color:  #1f1f1f;
    font-size: 16px;
    font-weight: 400;
    height: 24px;
    letter-spacing: 0;
    line-height: 24px;
    min-width: 64px;
    white-space: nowrap;
}

.smallTabWrapperSelected .smallTabTitle {
  color:#ff5000;
  font-weight: 600;
}

.smallTabWrapperSelected:before {
  background: #ff5000;
  bottom: 0;
  content: " ";
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

#product_show .product-card:hover {
  border:1px solid red;
  cursor: pointer;
}

#footer {
  background: #eee;
}
